<?php
// leagues list page
require_once 'view/adm/inbox/leagues.index.php';
require_once 'model/common/session.php';


class LeaguesIndexPage extends PageController {

	var $form;

    function LeaguesIndexPage() {
        parent::PageController();

        $this->setDefaultView(new Handle('LeaguesListView', array('/adm/inbox/leagues.index.html')));


        $this->addView('success', WACT_DEFAULT_VIEW);
        $this->addView('notfound', WACT_DEFAULT_VIEW);
        $this->addView('delete', new Handle('RedirectView', array('/delete')));
        $this->addView('publish', new Handle('RedirectView', array('/publish')));
        $this->addView('deny', new Handle('RedirectView', array('/deny')));
        $this->addView('viewnext', new Handle('RedirectView', array('/viewnext')));
        $this->addView('this', WACT_DEFAULT_VIEW);
        $this->addView('index', new Handle('RedirectView', array('/')));


    }

}

?>